﻿using System;
using System.Windows.Forms;

namespace WindowsEventLogManager
{
    public partial class RenameDialog : Form
    {
        public RenameDialog()
        {
            InitializeComponent();
        }

        public string EventLogName
        {
            get
            {
                return this.KeyNameTextBox.Text;
            }
        }

        private void OkButton_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
